import './css/index.css'
import './css/iconfont.css'
import tpl from './info.tpl'

const info = tpl({
    name: '小王',
    age: 20,
    address: '不知道'
})

console.log('info', info)

// import _ from 'lodash';
import axios from 'axios';
import dayjs from 'dayjs';

// console.log(_.join(['Hello', 'webpack']));
console.log(axios);
console.log(dayjs().format());

import { log } from './js/utils';
log('from entry A');

setTimeout(() => {
    import('./js/add').then(({ add }) => {
        console.log('1 + 2 =', add(1, 2));
    });
}, 2000)

console.log('环境变量111', process.env.API_URL)